package com.strategy.demo04;

public class EmpFilterBySalary implements EmpFilterInterface<Emp> {
    @Override
    public boolean test(Emp emp) {
        return emp.getSalary()>5000;
    }
}
